#
# Be sure to run `pod lib lint XCCategory_OC.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'XCCategory_OC'
  s.version          = '1.0.3'
  s.summary          = 'A short description of XCCategory_OC.'

  s.homepage         = 'https://gitee.com/chengssir/XCCategory_OC'

  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'XCCategory_OC' => 'XCCategory_OC' }
  s.source           = { :git => 'https://gitee.com/chengssir/XCCategory_OC.git', :tag => s.version.to_s }

  s.ios.deployment_target = '10.0'

  
 if ENV['use_code'] or ENV[s.name+'_use_code']
    s.source_files = 'XCCategory_OC/Classes/*'
 else #Framework模式
   s.ios.vendored_frameworks  = 'Frameworks/XCCategory_OC.xcframework'
   s.public_header_files = 'XCCategory_OC/Classes/*.{h}'
   s.source_files = 'XCCategory_OC/Classes/*.{h}'
 end
end
